package com.wing.sell.model.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.core.enums.IEnum;
import com.wing.mybatis.common.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.math.BigDecimal;

/**
 * 报价明细表
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sel_order_offer_detail")
public class OrderOfferDetail extends BaseEntity<OrderOfferDetail> implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 产品表ID
     */
    private Long proId;

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 报价单ID
     */
    private Long offerId;

    /**
     * 物料id
     */
    private Long productDetailId;
    /**
     * 最新报价金额
     */
    private BigDecimal offerMoney;
    /**
     * 上次报价金额
     */
    private BigDecimal lastMoney;

    //建议最低单价
    @TableField(exist = false)
    private String suggestLowestPrice ;

    //物料Code
    @TableField(exist = false)
    private String skuCode ;

    //建议单价
    @TableField(exist = false)
    private String suggestPrice ;
    //优惠单价
    @TableField(exist = false)
    private String discountPrice;
    //客户sku料号
    @TableField(exist = false)
    private String customerSkuItem;
    //客户sku名称
    @TableField(exist = false)
    private String  customerSkuName;
    //客户规格码
    @TableField(exist = false)
    private String customerSpecCode;
    //数量
    @TableField(exist = false)
    private Integer quantity;
    //单位
    @TableField(exist = false)
    private String unitName;
    @TableField(exist = false)
    //状态
    private String statusDesc ;






}
